<!--{include(pe_tpl('header_dialog.html'));}-->
<form method="post" id="form" autocomplete="off">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang_border">
<tr>
	<td class="bgtt" width="150">头像设置：</td>
	<td id="upload">
		<div class="upload_box" style="width:60px; height:60px;">
			<img src="{pe_thumb($info['admin_logo'])}" class="upload_img" />
			<input type="hidden" name="info[admin_logo]" value="{$info['admin_logo']}" class="upload_val">
		</div>
	</td>
</tr>
<tr>
	<td class="bgtt">登录帐号：</td>
	<td>
		<input type="text" name="info[admin_name]" value="{$info['admin_name']}" class="inputall input200 mar20" />
		<!--{if($act == 'edit'):}-->
		<a href="admin.php?mod=index&act=setpw&id={$info['admin_id']}" class="btn_green mar10" onclick="return pe_dialog(this, '修改登录密码', 600, 300)">登录密码</a>
		<!--{endif;}-->
	</td>
</tr>
<tr>
	<td class="bgtt">真实姓名：</td>
	<td><input type="text" name="info[admin_tname]" value="{$info['admin_tname']}" class="inputall input200" /></td>
</tr>
<tr>
	<td class="bgtt">手机号码：</td>
	<td><input type="text" name="info[admin_phone]" value="{$info['admin_phone']}" class="inputall input200" /></td>
</tr>
<tr>
	<td class="bgtt">管理权限：</td>
	<td>{$cache_adminlevel[$info['adminlevel_id']]['adminlevel_name']}</td>
</tr>
</table>
<div style="height:60px"></div>
<div class="right_bottom center">
	<input type="hidden" name="pe_token" value="{$pe_token}" />
	<input type="hidden" name="pesubmit" value="{$pe_token}" />
	<input type="button" value="提 交" class="tjbtn">
</div>
</form>
<link rel="stylesheet" href="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/style.css">
<script src="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/plupload.min.js"></script>
<script src="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/upload.js"></script>
<script type="text/javascript">
$(function(){
	$("#upload").pe_upload();
	$(":button").click(function(){
		pe_submit("{pe_nowurl()}", function(json){
			if (json.code == 1) {
				pe_open('dialog', 1000);
			}
		});
	})
})
</script>
<!--{include(pe_tpl('footer_dialog.html'));}-->